<template>
  <el-date-picker
      v-model="formData[formData.valueName]"
      :disabled="formStatus === 'info'"
      type="month"
      :value-format="formData.valueType"
      :format="formData.showValueType"
      :placeholder="formData.placeholder"
  />
</template>

<script setup name="monthDatePicker">
const props = defineProps({
  formData: {
    type: Object,
    default: () => {},
    required: true
  },
  formStatus: {
    type: String,
    default: 'edit'
  }
})
</script>

<style scoped lang="scss">

</style>
